// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   Win32SerialOutputStream.java

package com.sun.comm;

import java.io.IOException;
import java.io.OutputStream;

// Referenced classes of package com.sun.comm:
//            Win32SerialPort

class Win32SerialOutputStream extends OutputStream
{

    private Win32SerialPort port;

    Win32SerialOutputStream(Win32SerialPort win32serialport)
    {
        port = win32serialport;
    }

    @Override
	public synchronized void write(int i)
        throws IOException
    {
        port.write(i);
    }

    @Override
	public synchronized void write(byte abyte0[])
        throws IOException
    {
        port.write(abyte0, 0, abyte0.length);
    }

    @Override
	public synchronized void write(byte abyte0[], int i, int j)
        throws IOException
    {
        port.write(abyte0, i, j);
    }
}
